package cn.tedu.hospitalgroupproject.server.content.dao.persist.mapper;

import cn.tedu.hospitalgroupproject.server.content.pojo.entity.DoctorTitleAppLimit;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.DoctorListItemVO;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.DoctorTitleAppLimitListVO;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.DoctorTitleAppLimitStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理医生职称对应挂号上限数据的Mapper接口
 *
 */
@Repository
public interface DoctorTitleAppLimitMapper extends BaseMapper<DoctorTitleAppLimit> {

    /**
     *根据指定ID查找医生职称对应挂号上限
     * @param id 医生职称ID
     * @return 匹配的对应挂号上限信息，如果没有匹配的数据，则返回null
     */
    DoctorTitleAppLimitStandardVO getStandardById(Long id);

    /*查询医生职称列表*/
    List<DoctorTitleAppLimitListVO> listDoctorTitleAppLimit();

    /*根据职称名字查找记录*/
    DoctorTitleAppLimitStandardVO selectByName(String doctorTitle);
}
